export const urlConfig = {
    login: {
        url: 'server/login',
        method: 'post'
    },
    dictionaries: {
        url: 'server/dictionaries',
        method: 'get',
        query: true
    },
    logout: {
        url: 'logout',
        method: 'post'
    },
    //巡查记录
    patrolRecordList: {
        url: 'server/hostory/list',
        method: 'get'
    },
    useinto: {
        url: 'system/user/useinto',
        method: 'get'
    },
    fList: {
        url: 'server/packet/fList',
        method: 'get'
    },
    packetList: {
        url: 'server/packet/list',
        method: 'get'
    },
    //站点信息
    siteList: {
        url: 'server/site/list',
        method: 'get'
    },
    //站点排序
    minList: {
        url: 'server/site/minList',
        method: 'get'
    },
    //点位档案
    pointFileInfo: {
        url: 'server/device/list',
        method: 'get'
    },
    //站点联系人 ---------------用不了烦死了
    ssiteContactList: {
        url: 'server/siteInfo/list',
        method: 'get'
    },
    //运维记录
    maintenanceRecords: {
        url: 'server/operations/list',
        method: 'get'
    },
    //任务巡查接口
    taskPatrolList: {
        url: 'server/patrol/list',
        method: 'get'
    },
    //任务巡查数量接口
    listSum: {
        url: 'server/patrol/listSum',
        method: 'get'
    },
    //首页-待处理工单列表
    undoneList: {
        url: 'server/order/undoneList',
        method: 'get'
    },
    myOrderList: {
        url: 'server/order/list',
        method: 'get'
    },
    menuList: {
        url: 'server/preMenu/getmenu',
        method: 'get'
    },
    //获取供应商列表
    supplierList: {
        url: 'server/supplier/list',
        method: 'get'
    },
    //获取设备列表
    serverList: {
        url: 'server/info/list',
        method: 'get'
    },
    //新增供应商
    addSupplier: {
        url: 'server/supplier',
        method: 'post'
    },
    //设备列表_设备明细
    deviceList: {
        url: 'server/device/list',
        method: 'get'
    },
    //站点详情图片信息
    picStateList: {
        url: 'server/picState/list',
        method: 'get'
    },
    //创建工单
    createdOrder: {
        url: 'server/order',
        method: 'post'
    },
    //站点详情——添加图片
    addPicState: {
        url: 'server/picState',
        method: 'post'
    },
    //站点详情——删除图片
    delectPicState: {
        url: 'server/picState',
        method: 'delect'
    },
    //站点信息维护_负责人
    userList: {
        url: 'system/user/list',
        method: 'get'
    },
    userList1: {
        url: 'system/user/userList',
        method: 'get'
    },
    //查询标签列表
    stationService: {
        url: 'server/dictionaries/site_tag',
        method: 'get'
    },
    // 删除标签
    deleteTags: {
        url: 'server/SiteTag/list',
        method: 'get'
    },
    // 添加标签
    addSiteTag: {
        url: 'server/SiteTag',
        method: 'post'
    },
    // 查询站点状态施工进度
    constructionProgress: {
        url: 'server/other/list',
        method: 'get',
    },
    // 修改站点查询状态施工进度
    modificationOfConstructionSchedule: {
        url: 'server/other',
        method: 'put',
    },
    // 修改站点信息
    changeStatus: {
        url: "server/site",
        method: 'put'
    },
    // 添加站点信息
    addStatus: {
        url: "server/site",
        method: 'post'
    },
    // 获取工程用料信息
    projectMaterialInformation: {
        url: 'server/material/list',
        method: 'get'
    },
    // 设备类型列表
    deviceType: {
        url: "server/deviceType/list",
        method: 'get'
    },
    batch: {
        url: "server/supplierInfo/list",
        method: 'get'
    },
    // 设备安装
    submitDeviceInstall: {
        url: 'server/info',
        method: 'put'
    },
    submitDeviceInstallNot: {
        url: 'server/info',
        method: 'post'
    },
    // 添加用料
    submitEquipmentInput: {
        url: 'server/material',
        method: 'post'
    },
    // 提交电力备注
    submitPowerRemark: {
        url: "server/site",
        method: 'put',
    },
    // 查询变更记录
    showElectricityChange: {
        url: "server/operations/list",
        method: 'get',
    },
    // 获取工单列表
    getWorkList: {
        url: "server/order/workList",
        method: "get"
    },
    // 获取工单明细列表
    getOrderList: {
        url: "server/order/list",
        method: "get"
    },
    // 上传信息维护
    subInformationMaintenanceBt: {
        url: 'server/operations',
        method: "get"
    },
    // 查询设备列表
    tabDeviceList: {
        url: 'server/supplierInfo/list',
        method: 'get',
    },
    // 上传问题图片
    smbitQuestionPic: {
        url: 'server/order',
        method: 'put'
    },
    // 上传工单流转
    submitOrderFlow: {
        url: 'server/order/move',
        method: 'post',
    },
    dList: {
        url: 'server/order/dlList',
        method: 'get'
    },
    record: {
        url: "server/order/record",
        method: 'get'
    },
    movingList: {
        url: "server/moving/list",
        method: 'get'
    },
    submitPatrol: {
        url: "server/patrol",
        method: "put"
    },
    getnearby: {
        url: "server/site/minList",
        method: "get"
    },
    submitNewOrder: {
        url: 'server/order',
        method: 'post'
    },
    getOrderMap: {
        url: 'server/order/dlList',
        method: 'get'
    },
    DeleteContent: {
        url: 'server/material',
        method: 'delete',
        query: true

    },
    // 查询设备批次
    betchNew: {
        url: 'server/deact/list',
        method: 'get'
    },
    // 停用设备
    shanchuED: {
        url: 'server/info',
        method: 'delete',
        query: true
    },
    upload: {
        url: 'common/upload',
        method: 'post',
    },
    getSiteStat: {
        url: 'server/tongji/shebei',
        method: 'get'
    },

    // 未处理工单
    getNowork: {
        url: 'server/order/type',
        method: 'get'
    },

    // 今日数据统计
    getTodatwork: {
        url: 'server/order/tongji',
        method: 'get'
    },

    // 7日数据统计
    getsevenday: {
        url: 'server/order/day',
        method: 'get'
    },

    // 完结工单故障占比
    getOkwork: {
        url: 'server/tongji/wjwork',
        method: 'get'
    },


    // 通过code获取字典对应值
    // order_type驾驶舱字典查询值
    getCode: {
        url: 'server/dictionaries/device_type',
        method: 'get'
    },
    getCodeJ: {
        url: 'server/dictionaries/order_type',
        method: 'get'
    },
    // 切换项目
    togglexiangmu: {
        url: 'server/order/workList',
        method: 'get'
    },

    // 切换项目
    togglexiangmu1: {
        url: 'server/dictionaries/project',
        method: 'get'
    },

    // 添加设备
    addEquipment: {
        url: 'server/device',
        method: 'post'
    },

    // 添加批次
    addBatch: {
        url: 'server/supplierInfo',
        method: 'post'
    },

    // 设备明细
    // http://192.168.1.122:8082/server/info/list?batchId=33&deviceId=17&deviceCode=xhjjk&project=1 
    shebeiM: {
        url: 'server/info/list?batchId=33&deviceId=17&deviceCode=xhjjk&project=1',
        method: 'get'
    },


    // 工单详情查询
    gongdanX: {
        url: 'server/moving/WP',
        method: 'get'
    },

    // 人员统计
    renyuanTongji: {
        url: 'server/order/userlist',
        method: 'get'
    },
    // 通过字典获取效率页面的值
    getCodeX: {
        url: 'server/dictionaries/employee_groups',
        method: 'get'
    },
    // 未完成工单
    //  nogongdan: {
    //   url: 'server/workOther/unWorkSite/411',
    //   method: 'get'
    // },

    // // 完成工单
    // okgongdan: {
    //   url: 'server/workOther/onWorkSite/411',
    //   method: 'get'
    // },
    // 首页维护动态
    shouyeweihu: {
        url: 'server/order/workandmov2',
        method: 'get'
    },
    //未处理工单列表分组
    // weichuliListFenzu: {
    //   url: 'server/workOther/userGroup/',
    //   method: 'get'
    // },
    //未处理工单列表分组
    weichuliListFenzu: {
        url: 'server/order/getType',
        method: 'get'
    },
    // 运维人员分组信息
    yunweirenyuan: {
        url: 'server/moving/WP',
        method: 'get'
    },
    // 站点停用
    zhandiantingyon: {
        url: 'server/siteDeact',
        method: 'put'
    },
    // 站点停用变更记录
    zhandiantingyonjilu: {
        url: 'server/siteDeact/list',
        method: 'get'
    },
    // 站点拆除
    shebeichaichu: {
        url: 'server/site',
        method: 'put'
    },
    // 组内流转
    zuneiliuzhuan: {
        url: 'server/order/move',
        method: 'post'
    },
    // 发送验证码
    yanzhengma: {
        url: 'duanxin/fasong/send2',
        method: 'get'
    },
    // 快速定位
    kuaisu: {
        url: 'server/site/minList',
        method: 'get'
    },
        // 驾驶舱获取站点总数和各状态总数
        _getZhanStutes: {
          url: `server/site/type/1`,
          method: 'get'
      },
}